<?php
$this->_toolbar = array(
		'title'		=>	Yii::t('app', 'Update').' #'.$model->title,
		'buttons'	=>	array(
			CHtml::link(Yii::t('app', 'Export'), Yii::app()->createUrl('/admin_poll/poll/export',array('id'=>$model->id)), array('class'=>'button-s')),
			CHtml::link(Yii::t('app','Save'), "",array("id"=>"submitF", "class"=>"button-s", "onclick"=>"$('#s-bt').click()")),
			CHtml::link(Yii::t('app', 'View Detail'), Yii::app()->createUrl('/admin_poll/poll/view',array('id'=>$model->id)), array('class'=>'button-s')),
		)
);

?>

<?php echo $this->renderPartial('_form', array('model'=>$model,'choices'=>$choices)); ?>
